﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Common.Utilities.Dispatcher;

namespace Workflows.Components.TextMining.TextScraping
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class TextScrapingInstruction:InstructionBase
    {
        #region props
        private string _ScrapePath;
        /// <summary></summary>
        public string ScrapePath
        {
            get
            {
                return this._ScrapePath;
            }
            set
            {
                this._ScrapePath = value;
            }
        }

        private string _ParentScrpePath;
        /// <summary></summary>
        public string ParentScrpePath
        {
            get
            {
                return this._ParentScrpePath;
            }
            set
            {
                this._ParentScrpePath = value;
            }
        }
        #endregion

        public TextScrapingInstruction():base(Guid.Empty,Guid.Empty)
        {
            
        }

        public TextScrapingInstruction(Guid componentID, Guid jobTicketID) : base(componentID, jobTicketID)
        {
        }

        #region Overrides of InstructionBase

        /// <summary>serialize settings to xml</summary>
        public override XmlNode Serialize(ref XmlDocument xDoc, ref XmlNode parentNode)
        {
            throw new System.NotImplementedException();
        }

        /// <summary>
        /// instantiated from xml
        /// "&lt;Instructions&gt;&lt;Instruction&gt;&lt;/Instruction&gt;&lt;/Instruction&gt;", must
        /// instantiate from first child of root node
        /// </summary>
        public override InstructionBase Instantiate(XmlNode xNode)
        {
            throw new System.NotImplementedException();
        }

        #endregion
    }
}
